home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c,comp.lang.c++,comp.unix.programmer
- Path: newsfeed.acns.nwu.edu!firewall!ceco!root
- From: John Hobson <jhobson@ceco.ceco.com>
- Subject: Re: itoa() in C for unix >>>
- X-Nntp-Posting-Host: disaster
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <DpwpuM.Iop@ceco.ceco.com>
- Sender: root@ceco.ceco.com (Operator)
- Content-Transfer-Encoding: 7bit
- Organization: Commonwealth Edison
- References: <1996Apr12.121207@topaz>
- Mime-Version: 1.0
- Date: Mon, 15 Apr 1996 14:06:22 GMT
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3_U1 sun4c)
- X-Url: news:1996Apr12.121207@topaz
-
- naderr@topaz.cqu.edu.au wrote:
- >Does anyone have or know of where I may obtain a itoa()
- >integer to string function in C/C++; my Linux box
- >doesn't have one and I could use it right now.
-
- Two solutions: use sprintf, or else look in Kernighan & Ritchie, where
- they give an itoa() function as an exercise.
-
- --
- John Hobson | The Mahatma Gandhi was once asked, "Mr
- Unix Support Group | Gandhi, what do you think of Western
- Commonwealth Edison, Chicago, IL | Civilization?" He replied, "I think
- jhobson@ceco.ceco.com | that it would be an excellent idea."
-
-